#ifndef __AT644P_USART1_H__
#define __AT644P_USART1_H__


#define FOSC1 8000000// Clock Speed
#define BAUD1 9600
#define MYUBRR1 FOSC1/16/BAUD1-1

void AT644P_USART1_init(void);
void AT644P_USART1_reg(void (*sendDone)(void), void (*receive)(uint8_t));
error_t AT644P_USART1_send(uint8_t data);

#define DRIVER_USART1_INIT() AT644P_USART1_init()
#define DRIVER_USART1_REG(x,y) AT644P_USART1_reg(x,y)
#define DRIVER_USART1_SEND(x) AT644P_USART1_send(x)

#endif // __AT644P_USART0_H__